package com.ck.model.common;

/**
 * 节目模板
 *
 * @author linq
 * @version 1.0
 * @date 2018-09-11 11:07
 */
public class ProgramTemplate {
    private Long programTemplateId;

    /**
     * 模板类型（0预置模板不能删除，1用户定义模板）
     */
    private Integer type;

    /**
     * 模板名称
     */
    private String name;

    /**
     * 分辨率宽
     */
    private Integer wide;

    /**
     * 分辨率高
     */
    private Integer height;

    /**
     * 模板json(关联ck_json表)
     */
    private Long jsonId;

    private Long addTime;

    private Long updateTime;

    private String remark;
    /**
     * 模板背景图url
     */
    private String imgUrl;
    /**
     * 商家编码
     */
    private String companyCode;

    public ProgramTemplate(Long programTemplateId, Integer type, String name, Integer wide, Integer height, Long jsonId, Long addTime, Long updateTime, String remark, String imgUrl, String companyCode) {
        this.programTemplateId = programTemplateId;
        this.type = type;
        this.name = name;
        this.wide = wide;
        this.height = height;
        this.jsonId = jsonId;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.remark = remark;
        this.imgUrl = imgUrl;
        this.companyCode = companyCode;
    }

    public ProgramTemplate() {
        super();
    }

    public Long getProgramTemplateId() {
        return programTemplateId;
    }

    public void setProgramTemplateId(Long programTemplateId) {
        this.programTemplateId = programTemplateId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getWide() {
        return wide;
    }

    public void setWide(Integer wide) {
        this.wide = wide;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Long getJsonId() {
        return jsonId;
    }

    public void setJsonId(Long jsonId) {
        this.jsonId = jsonId;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        return "ProgramTemplate{" +
                "programTemplateId=" + programTemplateId +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", wide=" + wide +
                ", height=" + height +
                ", jsonId=" + jsonId +
                ", addTime=" + addTime +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", companyCode='" + companyCode + '\'' +
                '}';
    }
}